define(['app'], function(app) {
	'use strict';

	//实例化方法
	var factory = function(Http) {

		//返回信息
		return {
			logout: function(callack){
				Http.post({
					method:'member.logout'
				},function(result){
					if(callack)
						callack(result);
				})
			}
		};
	}

	factory.$inject = ['Http'];
	return app.registerService("T_set", factory);
});